/********************************************************************************
 * FrontBaseSupport.java
 *
 * Created by Jigar Mistry
 * Last modified Date: Sep 26, 2008 11:07:23 AM by Jigar Mistry
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 ********************************************************************************/
package com.printeverywhere.action;

import com.opensymphony.xwork2.ActionSupport;

public class FrontBaseSupport extends ActionSupport {

	/**  */
	private static final long serialVersionUID = 1L;

	private boolean loginPage = false;

	private boolean leftAllowed = true;

	private boolean rightAllowed = true;

	private boolean categoryDisplay = false;

	private boolean myAccount = false;

	public boolean isMyAccount() {
		return myAccount;
	}

	public void setMyAccount(boolean myAccount) {
		this.myAccount = myAccount;
	}

	/**
	 * @return the categoryDisplay
	 */
	public boolean isCategoryDisplay() {
		return categoryDisplay;
	}

	/**
	 * @param categoryDisplay the categoryDisplay to set
	 */
	public void setCategoryDisplay(boolean categoryDisplay) {
		this.categoryDisplay = categoryDisplay;
	}

	public FrontBaseSupport(boolean leftAllowed, boolean rightAllowed) {
		this.leftAllowed = leftAllowed;
		this.rightAllowed = rightAllowed;
	}

	public boolean isLeftAllowed() {
		return leftAllowed;
	}

	public void setLeftAllowed(boolean leftAllowed) {
		this.leftAllowed = leftAllowed;
	}

	public boolean isRightAllowed() {
		return rightAllowed;
	}

	public void setRightAllowed(boolean rightAllowed) {
		this.rightAllowed = rightAllowed;
	}

	public boolean isLoginPage() {
		return loginPage;
	}

	public void setLoginPage(boolean loginPage) {
		this.loginPage = loginPage;
	}
}
